package com.orion.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Administrator
 * @date 2021/8/26
 */
@RequestMapping("/doubleLogin")
@Controller
public class DoubleLoginController {

    @GetMapping("/user/login")
    public String userLoginPage(){
        return "doubleLogin/user/loginPage";
    }

    @GetMapping("/user/index")
    public String userIndexPage(){
        return "doubleLogin/user/indexPage";
    }

    @GetMapping("/admin/login")
    public String adminLoginPage(){
        return "doubleLogin/admin/loginPage";
    }

    @GetMapping("/admin/index")
    public String adminIndexPage(){
        return "doubleLogin/admin/indexPage";
    }
}
